package com.cqie.tes.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.cqie.tes.comm.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("sys_func")
@ApiModel(value = "SysFunc对象",description = "操作对象SysFunc")
public class SysFunc extends BaseEntity {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "操作id",name = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "操作名称",name = "name")
    @TableField
    private String name;

    @ApiModelProperty(value = "菜单ID",name = "menuId")
    @TableField("menuId")
    private Long parentId;

    @ApiModelProperty(value = "排序码",name = "sortCode")
    @TableField("sortCode")
    private Integer sortCode;

    @ApiModelProperty(value = "应用地址",name = "appUrl")
    @TableField("appUrl")
    private String appUrl;

    @ApiModelProperty(value = "图标地址",name = "imgUrl")
    @TableField("imgUrl")
    private String imgUrl;
}
